<template>
  <div>  <group>
      <x-textarea :max="100":placeholder="说点什么吧" @on-focus="onEvent('focus')" @on-blur="onEvent('blur')"></x-textarea>
         <grid>
       <grid-item v-for="i in 1" :key="i">
  
        <img slot="icon" src="../assets/upload_icon.png" style="margin-left: -150px"  > 
         
      </grid-item>
    </grid>
    </group> 
    </br>   
    <X-button>发布</X-button>
  </div></template>

<script>
import { XButton,XTextarea, Group, XInput , Grid, GridItem, GroupTitle} from 'vux'

export default {
  components: {
    XTextarea,
    Group,
    XInput,
    XButton,
    Grid,
    GridItem,
    GroupTitle
  },
  methods: {
    onEvent (event) {
      console.log('on', event)
    },
  
    
  }
}
</script>
